package com.fulihui.information.dal.dataobj;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;

import java.util.Date;

import static com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant.*;

@Table("info_content_comments")
public class InfoContentComments {
    @Column(name = "id", type = VARCHAR)
    private String id;

    @Column(name = "user_id", type = VARCHAR)
    private String userId;

    @Column(name = "user_name", type = VARCHAR)
    private String userName;

    @Column(name = "user_pic", type = VARCHAR)
    private String userPic;

    @Column(name = "comment_content", type = VARCHAR)
    private String commentContent;

    @Column(name = "content_id", type = VARCHAR)
    private String contentId;

    @Column(name = "content_title", type = VARCHAR)
    private String contentTitle;

    @Column(name = "praise_total", type = INT)
    private Long praiseTotal;

    @Column(name = "reply_total", type = INT)
    private Long replyTotal;

    @Column(name = "status", type = VARCHAR)
    private String status;

    @Column(name = "operator", type = VARCHAR)
    private String operator;

    @Column(name = "gmt_create", type = DATETIME)
    private Date gmtCreate;

    @Column(name = "gmt_modified", type = DATETIME)
    private Date gmtModified;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public String getUserPic() {
        return userPic;
    }

    public void setUserPic(String userPic) {
        this.userPic = userPic == null ? null : userPic.trim();
    }

    public String getCommentContent() {
        return commentContent;
    }

    public void setCommentContent(String commentContent) {
        this.commentContent = commentContent == null ? null : commentContent.trim();
    }

    public String getContentId() {
        return contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = contentId == null ? null : contentId.trim();
    }

    public String getContentTitle() {
        return contentTitle;
    }

    public void setContentTitle(String contentTitle) {
        this.contentTitle = contentTitle == null ? null : contentTitle.trim();
    }

    public Long getPraiseTotal() {
        return praiseTotal;
    }

    public void setPraiseTotal(Long praiseTotal) {
        this.praiseTotal = praiseTotal;
    }

    public Long getReplyTotal() {
        return replyTotal;
    }

    public void setReplyTotal(Long replyTotal) {
        this.replyTotal = replyTotal;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}